package com.peng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 
 * @TableName appointment
 */
@TableName(value ="appointment")
public class Appointment {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "username")
    private String username;

    /**
     * 
     */
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 
     */
    @TableField(value = "department")
    private String department;

    /**
     * 
     */
    @TableField(value = "date")
    private String date;

    /**
     * 
     */
    @TableField(value = "time")
    private String time;

    /**
     * 
     */
    @TableField(value = "doctor_name")
    private String doctorName;

    /**
     * 
     */
    public Long getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getUsername() {
        return username;
    }

    /**
     * 
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 
     */
    public String getIdCard() {
        return idCard;
    }

    /**
     * 
     */
    public void setIdCard(String id_card) {
        this.idCard = id_card;
    }

    /**
     * 
     */
    public String getDepartment() {
        return department;
    }

    /**
     * 
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    /**
     * 
     */
    public String getDate() {
        return date;
    }

    /**
     * 
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * 
     */
    public String getTime() {
        return time;
    }

    /**
     * 
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * 
     */
    public String getDoctorName() {
        return doctorName;
    }

    /**
     * 
     */
    public void setDoctorName(String doctor_name) {
        this.doctorName = doctor_name;
    }
}